package com.Eastiy.EXO.View;

import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.widget.HorizontalScrollView;
import android.widget.LinearLayout;

public class NewViewHS extends HorizontalScrollView {
    public NewViewHS(Context context, Object obj, Object obj2, Object obj3, Object obj4, Object obj5) {
        super(context);
        if (!(obj == null || obj2 == null)) {
            setLayoutParams(new LinearLayout.LayoutParams(((Integer) obj).intValue(), ((Integer) obj2).intValue()));
        }
        if (obj3 == new Integer(0)) {
            setBackgroundDrawable(new ColorDrawable(Color.parseColor((String) obj4)));
        } else if (obj3 == new Integer(1)) {
            setBackgroundDrawable(ASUI.roundBG(obj4, obj5, (String) null, (Object) null));
        } else {
            if (obj3 == new Integer(2)) {
            }
        }
    }
}
